@import "./_reset.scss";
@import "./_common.scss";


// 中间内容
.pyg_content {
    width: 100%;
    height: 100%;
    padding: 45px 0;
    overflow: scroll;

    // 导航栏
    .pyg_nav {
        display: flex;
        overflow: scroll;
        padding: 10px;
        flex-wrap: wrap;

        a {
            width: 25%;

            text-align: center;

            img {
                width: 80%;
            }
        }
    }

    // 商品列表
    .pyg_goodslist {
        padding: 0 10px;

        .goodslist_box {
            .title {
                width: 100%;

                img {
                    width: 100%;
                }
            }

            .content {
                width: 49%;
                background-color: #fff;
                float: left;
                margin-bottom: 5px;

                a:nth-child(1) {
                    width: 100%;
                    display: block;
                    color: #000;
                    font-size: 14px;

                    img {
                        width: 100%;
                        display: block;
                    }

                    span:nth-child(3) {
                        color: red;
                    }
                }

                a:nth-child(2) {
                    display: inline-block;
                    width: 160px;
                    height: 30px;
                    border: 1px solid skyblue;
                    margin-left: 15px;
                    text-align: center;
                    margin-bottom: 5px;
                    line-height: 30px;
                    -webkit-tap-highlight-color: transparent;
                }

                &:nth-child(odd) {
                    margin-left: 2%;
                }
            }
        }

    }


}